package com.eastfair.certificate.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import java.io.Serializable;
import com.eastfair.vo.BaseVO;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

/**
 * <p>
 * 实体类
 * 人员库
 * </p>
 *
 * @author ligang
 * @since 2023-03-07
 */
@Data
@ApiModel(value = "PeopleVO", description = "人员库")
public class PeopleVO extends BaseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 身份证（正面）
     */
    @ApiModelProperty(value = "身份证（正面）")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "身份证（正面）长度不能超过255")
    private String cardFront;
    /**
     * 身份证（反面）
     */
    @ApiModelProperty(value = "身份证（反面）")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "身份证（反面）长度不能超过255")
    private String cardBack;
    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "身份证号码长度不能超过255")
    private String cardNumber;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "姓名长度不能超过255")
    private String fullName;
    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "性别长度不能超过255")
    private String gender;
    /**
     * 联系方式
     */
    @ApiModelProperty(value = "联系方式")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "联系方式长度不能超过255")
    private String contactInformation;
    /**
     * 工作证件照
     */
    @ApiModelProperty(value = "工作证件照")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "工作证件照长度不能超过255")
    private String workCertificateImg;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 团队id
     */
    @ApiModelProperty(value = "团队id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long teamId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 是否可用，1是；0否
     */
    @ApiModelProperty(value = "是否可用，1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;


    /**
     * 工种高空作业证电工证其他
     */
    @ApiModelProperty(value = "工种高空作业证电工证其他")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String workType;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String companyName;

    /**
     * 公司id
     */
    @ApiModelProperty(value = "公司id")
    private Long companyId;

    /**
     *  主体类型  主运，搭建商，参展商
     */
    @ApiModelProperty(value = " 主体类型  主运，搭建商，参展商")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String principalType;

}
